Quantitative Methodology (UPF)
It s a generic name. It can be almost anything.
How Excel stores data in two dimensions:
A way to store data in R in two dimensions:
# A tibble: 17,548 × 9
scode country year polity2 xrreg xrcomp xropen xconst parreg
<chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 AFG Afghanistan 1800 -6 3 1 1 1 3
2 AFG Afghanistan 1801 -6 3 1 1 1 3
3 AFG Afghanistan 1802 -6 3 1 1 1 3
4 AFG Afghanistan 1803 -6 3 1 1 1 3
5 AFG Afghanistan 1804 -6 3 1 1 1 3
6 AFG Afghanistan 1805 -6 3 1 1 1 3
7 AFG Afghanistan 1806 -6 3 1 1 1 3
8 AFG Afghanistan 1807 -6 3 1 1 1 3
9 AFG Afghanistan 1808 -6 3 1 1 1 3
10 AFG Afghanistan 1809 -6 3 1 1 1 3
# … with 17,538 more rows
The thing that we want to know about.
We consider a dataframe as tidy if it fulfills the following requirements (Wickham 2014):
Canviem la unitat d’anàlisi, les observacions, i les variables del marc de dades, mantenint la mateixa informació.
Quantitative Methodology (UPF)